package com.zxj.system.domain.exam.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

import java.util.LinkedHashSet;

/**
 * 竞赛题目添加 DTO
 *
 * @author zxj2022
 * @date 2024/12/29
 */
@Getter
@Setter
@Schema(name = "ExamQuestAddDTO", description = "竞赛题目添加 DTO")
public class ExamQuestAddDTO {

    /** 竞赛 ID */
    @Schema(description = "竞赛 ID")
    @NotNull(message = "竞赛 ID 不能为空")
    private Long examId;

    /** 问题 ID 集 */
    @Schema(description = "问题 ID 集")
    @NotEmpty(message = "问题 ID 集不能为空")
    private LinkedHashSet<Long> questionIdSet;
}
